from django.urls import path
from . import views

urlpatterns = [
        path('protocols/', views.ProtocolViewSet.as_view({'get': 'list', 'post': 'create'}), name='protocol_list'),
        path('protocols/<int:pk>/', views.ProtocolViewSet.as_view({'get': 'retrieve', 'put': 'update', 'delete': 'destroy'}), name='protocol_detail'),
]
